package com.atguigu.tingshu.account.service;

import com.atguigu.tingshu.model.account.RechargeInfo;
import com.atguigu.tingshu.vo.account.RechargeInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RechargeInfoService extends IService<RechargeInfo> {

    /**
     * 充值订单提交
     * @param rechargeInfoVo
     * @return
     */
    Object submitRecharge(RechargeInfoVo rechargeInfoVo);

    /**
     * 取消充值订单
     * @param orderNo
     */
    void cancelRechargeInfo(String orderNo);

    /**
     * 模拟余额支付返回支付地址
     * @param orderNo
     * @return
     */
    Object getRechargePayInfo(String orderNo);

    /**
     * 修改充值订单
     * @param resultString
     */
    void updateRechargeInfo(String resultString);
}
